package server;


import session.ClientSession;

import com.sun.media.jsdt.Channel;
import com.sun.media.jsdt.Client;

public class Serveur {
	
	private Client client;
	private JSDTServer jsdtServer;
	
	public Serveur(){
		this.client = null;
		this.jsdtServer = new JSDTServer(this,"socket","localhost",2222);
		
	}
	
	public Client getClient(){
		return this.client;
	}
	
	public void createSession(){
		this.client = new ClientSession("serverLogo");
		this.jsdtServer.connect();
	}
}
